home *** CD-ROM | disk | FTP | other *** search
/ Champak 138 / Volume 138 Aug 19 2011 - Damaged.iso / Games / the_independent.swf / scripts / DefineSprite_65_totalSplash / frame_1 / DoAction.as
Text File  |  2011-08-19  |  2KB  |  61 lines

  1. stop();
  2. this.dazsubmit.errormsg = "";
  3. this.dazsubmit.servresult = "";
  4. this.dazsubmit.optin = "no";
  5. switch(_global.peopleHit)
  6. {
  7.    case 0:
  8.       tAdd1 = " an apalling ";
  9.       tAdd2 = "With that kind of score I think your only option is to try again...";
  10.       break;
  11.    case 1:
  12.       tAdd1 = " a frankly embarrasing ";
  13.       tAdd2 = "Hide your shame by trying again and gaining a respectable score...";
  14.       break;
  15.    case 2:
  16.       tAdd1 = " a cringe-worthy ";
  17.       tAdd2 = "Best give it another go...";
  18.       break;
  19.    case 3:
  20.       tAdd1 = " a very low ";
  21.       tAdd2 = "Give it another go, let\'s face it you couldn\'t do much worse...";
  22.       break;
  23.    case 4:
  24.       tAdd1 = " a disppointing ";
  25.       tAdd2 = "Below average, but you\'ll do better next time...";
  26.       break;
  27.    case 5:
  28.       tAdd1 = " a very average ";
  29.       tAdd2 = "Another couple of goes and you\'ll get the other 50%...";
  30.       break;
  31.    case 6:
  32.       tAdd1 = " a slighly above average ";
  33.       tAdd2 = "You should be able to get at least 70% next time...";
  34.       break;
  35.    case 7:
  36.       tAdd1 = " a decent ";
  37.       tAdd2 = "A good score, but what about the remaining 30%? - have another shot...";
  38.       break;
  39.    case 8:
  40.       tAdd1 = " an impressive ";
  41.       tAdd2 = "Your aim is true, but the last 20% is still eluding you...";
  42.       break;
  43.    case 9:
  44.       tAdd1 = " a stunning ";
  45.       tAdd2 = "Surely you can\'t relax til you have the full 100%...";
  46.       break;
  47.    case 10:
  48.       tAdd1 = " a staggering ";
  49.       tAdd2 = "A performance to match the Independent Compact, well done indeed!";
  50. }
  51. endText1.text = "You managed to reach" + tAdd1 + _global.peopleHit * 10 + "% of your target audience!  Your end score is:";
  52. endText2.text = tAdd2;
  53. privacyBT.onRelease = function()
  54. {
  55.    _parent.privacyLink();
  56. };
  57. backBT.onRelease = function()
  58. {
  59.    _root.sectionStart(8);
  60. };
  61.